﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Specialized;

namespace RabbitMQServer.Expand
{


    /// <summary>
    /// 
    /// </summary>
    public class RabbitMQHelp
    {
        public NameValueCollection Attr = new NameValueCollection();



        public string this[string key]

        {

            set

            {

                Attr[key] = value;

            }



            get

            {

                return Attr[key];

            }

        }

    }


    public class TestMQ : RabbitMQHelp
    {
        public TestMQ()
        {
            var cc = this["1"];
            var a = new CheckBusinessData();
          
        }



       
    }

    public partial class CheckBusinessData
    {
        public CheckBusinessData()
        {
            a = 1;
            b = 2;
        }
        public int a { get; set; }
    }
    public partial class CheckBusinessData {
        public int b { get; set; }
    }
    public partial class CheckBusinessData {
        public int c { get; set; }
    }
    public partial class CheckBusinessData {

        public int d { get; set; }
    }
}
